Winter 2026 Day 2
What isn’t clear?
Comments? Thoughts?
Example 1: We have limited RAM, and we want to run more programs that can be stored.
Example 2: We have two process (producer / consumer); how do they communicate?
What isn’t clear?
Comments? Thoughts?
Understand filesystems
Load the kernel image
Load the initramfs
Pass arguments to the kernel
Jump to the kernel entry point
Provides kernel command line args
Think of the kernel in phases
The kernel cannot rely on anything yet: it is building the world.
/dev/sda/dev/ttyMounts the root filesystem
Chooses one program to run
Executes it with execve()
If PID 1 exits?
What isn’t clear?
Comments? Thoughts?
What isn’t clear?
Comments? Thoughts?